package utils

import (
	"strings"

	"github.com/google/uuid"
)

// MessageID returns a special UUID, only for missevan.
func MessageID() string {
	u := uuid.NewString()
	return "3" + u[1:]
}

// SafeMessage is used to add zero-width space between each character
// that avoid being blocked.
func SafeMessage(msg string) string {
	return strings.Join(strings.Split(msg, ""), "\u200B")
}
